package com.conan.service;

import com.conan.pojo.Article;
import com.conan.pojo.PageBean;

public interface ArticleService {

    void addArticle(Article article);

    PageBean<Article> list(Integer pageNum, Integer pageSize, String categoryId, String state);

    Article getById(Integer id);

    void update(Article article);

    void delete(Integer id);
}
